package com.basics.post.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 频道帖子
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel_post")
@ApiModel(value="CyChannelPost对象", description="频道帖子")
public class CyChannelPost extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "组织ID")
    private Long organizationId;

    @ApiModelProperty(value = "频道ID")
    private Long channelId;

    @ApiModelProperty(value = "话题板块ID")
    private String topicId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "帖子内容")
    private String content;

//    @ApiModelProperty(value = "图片链接")
//    private String imageUrls;
//
//    @ApiModelProperty(value = "文件类型(1,图片,2视频)")
//    private Integer fileType;
//
//    @ApiModelProperty(value = "封面图片")
//    private String coverImg;
//
//    @ApiModelProperty(value = "时长(秒)")
//    private Long duration;
}
